\documentclass{beamer}

% ingles
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}

% outros pacotes
\usepackage{amsmath}
\usepackage{algorithm2e}

% opcoes
\setbeamercovered{transparent}

% bibliografia
\usepackage[backend=biber]{biblatex}
\bibliography{bibliografia}

\addtobeamertemplate{navigation symbols}{}{%
    \usebeamerfont{footline}%
    \usebeamercolor[fg]{footline}%
    \hspace{1em}%
    \insertframenumber/\inserttotalframenumber
}

\title{Gillespie SSA}
\author{Nome autor}

\begin{document}







\begin{frame}
\titlepage
\end{frame}







\begin{frame}{Usando colunas}

\begin{columns}[onlytextwidth]
\begin{column}{0.4\textwidth}
	\centering
	\rule{100pt}{150pt}  % imagem p.ex
\end{column}

\begin{column}{0.6\textwidth}
Some text with a formula:

$$f(x)=ax^2+bx+c$$

More text.
\end{column}
\end{columns}

\bigskip  % \bigskip as vezes util para separar as coisas ...

Even more text.

\end{frame}









\begin{frame}{Animation}

% no preambulo, desactivar opcao \setbeamercovered{transparent}
% se se desejar que o conteudo esteja invisivel, inves de a cinza

There are various commands to hide texts.

\pause

\begin{itemize}
\item but \textbackslash pause may be the simplest and most versatile
\pause
\item and good enough for most purposes !
\end{itemize}

\end{frame}









\begin{frame}{Pseudocodigo}

\begin{algorithm}[H]
	Initialize $\mathbf{X}(0)$ \\
	\While{$t <$ time limit}{
	Evaluate $\{a_k(\mathbf{X}(t))\}^M_{k=1}$ and $a_{\text{sum}}(\mathbf{X})(t) := \sum^M_{k=1}a_k(\mathbf{X}(t))$ \\
	Draw two independent uniform $(0,1)$ random numbers, $\xi_1$ and $\xi_2$ \\
	Set $j$ to be the smallest integer satisfying $\sum^j_{k=1}a_k(\mathbf{X}(t)) > \xi_1 a_{\text{sum}}(\mathbf{X}(t))$ \\
	Set $\tau=\ln(1/\xi_2)/a_{\text{sum}}(\mathbf{X}(t))$ \\
	Set $\mathbf{X}(t+\tau)=\mathbf{X}(t) + \mathbf{\nu}_j$ and update $t$ to $t+\tau$
	}
\caption{Gillespie SSA first algorithm \footfullcite{higham2008}}
\end{algorithm}

\end{frame}






\begin{frame}{Bibliografia}
\printbibliography
\end{frame}




\end{document}
